import { ViewItems } from "@/model/ViewItem";
import { DefaultNumGameState, INumGameState } from "@/model/NumGameState";
import { IHistoryInfo } from "@/model/HistoryInfo";

export interface IAppState {
  Drawer: boolean; // 侧边栏控制
  AppName: string;
  ViewItems: ViewItems;
  NumGameState: INumGameState;
  HistoryInfos: IHistoryInfo[];
}

export class DefaultAppState implements IAppState {
  AppName = "数字游戏项目";
  Drawer = false;
  ViewItems = ViewItems.Instance();
  NumGameState = new DefaultNumGameState();
  HistoryInfos = [];
}
